﻿using System;
using Colorful.Furniture.IEntity;
using FreeSql.DataAnnotations;

namespace Colorful.Furniture.ReportManagement;

/// <summary>
///  报表
/// </summary>
[Table(Name = "rpt_report")]
public class Report : AuditTenantSoftDeleteAggregateRoot
{
    /// <summary>
    ///  编码
    /// </summary>
    [Column(Name = "id")]
    public Guid Id { get; set; }

    /// <summary>
    ///  代码
    /// </summary>
    [Column(Name = "code")]
    public string Code { get; set; }

    /// <summary>
    ///  报表名字
    /// </summary>
    [Column(Name = "name", StringLength = 20)]
    public string Name { get; set; }

    /// <summary>
    ///  地址
    /// </summary>
    [Column(Name = "url", StringLength = 100)]
    public string Url { get; set; }

    /// <summary>
    ///  frx内容
    /// </summary>
    [Column(Name = "frx_content", StringLength = -1)]
    public string FrxContent { get; set; }

    /// <summary>
    ///  备注
    /// </summary>
    [Column(Name = "remark", StringLength = 100)]
    public string Remark { get; set; }
}